import datetime
from django.contrib.auth.models import User
from django.db import models
from character.models import People

class Face(models.Model):
    # this face belongs to which people
    owner = models.ForeignKey(People)
    # img 
    img = models.ImageField(upload_to='static/upload/face/', blank=False)
    # when update?
    pub_date = models.DateTimeField(default=datetime.datetime.now)
    
    def __unicode__(self):
        return self.url